package com.czy.springcloud.service;

import org.springframework.stereotype.Component;

/***
 * ***************************************
 * 功能描述:feign统通配服务降级
 * @author create: TODO 人员:【ChangZiYang】类型:【新增方法】日期:【2020-11-24 16:52】
 * @author modify:
 */
@Component
public class PaymentFallbackService implements PaymentHystrixService {

    @Override
    public String paymentInfo_OK(Integer id) {
        return "-----PaymentFallbackService fall back-paymentInfo_OK ,o(╥﹏╥)o";
    }

    @Override
    public String paymentInfo_TimeOut(Integer id) {
        return "-----PaymentFallbackService fall back-paymentInfo_TimeOut ,o(╥﹏╥)o";
    }
}
